package com.shop.shop.mapper;

import com.shop.shop.entity.UrCn;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 用户和优惠价中间表 Mapper 接口
 * </p>
 *
 * @author 小🌤
 * @since 2021-05-04
 */
public interface UrCnMapper extends BaseMapper<UrCn> {

    @Select("select * from ur_cn where ur_id=#{urId} and cn_id=#{cnId}")
    UrCn getUser(UrCn urCn);
}
